﻿@model List<Model.TextModel>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ShowExcelName</title>
</head>
<body>
    <div style="height:500px;margin-top:100px" >
        <h1 style="color:blue;" class="text-center">题库 @ViewBag.count</h1>
        <div style="padding-left:250px;padding-top:20px;">
            <table class="text-center">
                @{
                    BLL.TextBLL bll = new BLL.TextBLL();
                    if (Convert.ToInt32(@Session["Cids"]) != 0)
                    {

                        foreach (var item in bll.GetExamExcal(Convert.ToInt32(@Session["Cids"])))
                        {
                            <tr><td style="font-size:20px;"><a href="/Text/Index/?name=@item.Key">@item.Key</a></td></tr>
                            <tr style="padding-top:10px;"><td>@(bll.GetCompanyName(Convert.ToInt32(item.Value)))</td></tr>
                        }
                    }
                    else
                    {

                        foreach (var item in bll.GetExamExcal(Convert.ToInt32(@Session["Cids"])))
                        {
                            <tr><td style="font-size:20px;"><a href="/Text/Index/?name=@item.Key">@item.Key</a></td></tr>
                            <tr style="padding-top:10px;"><td>@(bll.GetCompanyName(Convert.ToInt32(item.Value)))</td></tr>
                        }
                    }
                }
            </table>
        </div>
    </div>
    <footer id="footer">

        <div class="footer1">
            <div class="container">
                <div class="row">
                    <div class="col-md-5 panel">
                        <h3 class="panel-title">要努力</h3>
                        <div class="panel-body">
                            <p>在别人肆意说你的时候，问问自己，到底怕不怕，输不输的起。不必害怕，不要后退，不须犹豫，难过的时候就一个人去看看这世界。多问问自己，你是不是已经为了梦想而竭尽全力了？</p>
                        </div>
                    </div>

                    <div class="col-md-4 panel contact">
                        <h3 class="panel-title">
                            座右铭
                        </h3>
                        <div class="panel-body">
                            <p>
                                天将降大任于是人也，必先苦其心志，劳其筋骨，饿其体肤，空乏其身，行拂乱其所为。
                                ——《孟子?告子下》
                            </p>

                        </div>
                    </div>

                    @*<div class="col-md-3 panel">    以后可以扩展留言板
                            <h3 class="panel-title">Follow me</h3>
                            <div class="panel-body">
                                <p class="follow-me-icons">
                                    <a href=""><i class="fa fa-twitter fa-2"></i></a>
                                    <a href=""><i class="fa fa-dribbble fa-2"></i></a>
                                    <a href=""><i class="fa fa-github fa-2"></i></a>
                                    <a href=""><i class="fa fa-facebook fa-2"></i></a>
                                    <a href=""><i class="fa fa-youtube fa-2"></i></a>
                                    <a href=""><i class="fa fa-pinterest fa-2"></i></a>
                                </p>
                            </div>
                        </div>*@

                </div>
                <!-- /row of panels -->
            </div>
        </div>

        <div class="footer2">
            <div class="container">
                <div class="row">

                    <div class="col-sm-6 panel">
                        <div class="panel-body">
                            <p class="text-right">
                                Copyright &copy; <a href="/Areas/Admin/Index">2016.面试题库</a> All rights reserved.
                            </p>
                        </div>
                    </div>

                </div>
                <!-- /row of panels -->
            </div>
        </div>

    </footer>
</body>
</html>
